.search-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    background-color: #ffffff;
}

.search-title {
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    font-family: "Microsoft YaHei", serif;
}

.search-hr {
    width: 100%;
    margin: 15px 0;
    border: none;
    border-top: 2px solid #eaeaea;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    padding: 20px;
}

.search-box .input-group {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.search-box .form-control {
    border: 1px solid #e0e0e0;
    padding: 12px 20px;
    font-size: 16px;
    height: auto;
}

.search-box .input-group-text {
    background-color: #0099ff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box .input-group-text:hover {
    background-color: #0b5ed7;
}

.search-box .input-group-text svg {
    fill: white;
}

.search-result-none {
    text-align: center;
    color: #666;
    font-style: italic;
    font-size: 16px;
    margin-top: 40px;
}

.search-result {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 300px;
    width: 100%;
}

.search-result-item {
    margin: 10px 0;
    text-align: center;
}

.search-result-item svg {
    width: 56px;
    height: 56px;
    margin-bottom: 15px;
}

#search-result-username,
#search-result-id {
    font-weight: bold;
    color: #0d6efd;
    font-size: 14px;
}

#search-result-add-friend-btn {
    margin-top: 15px;
    padding: 8px 24px;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

#search-result-add-friend-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

/* 添加动画效果 */
.search-result.hide,
.search-result-none.hide {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.search-result,
.search-result-none {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}



